package edu.ynu.se.xiecheng.achitectureclass.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 摄像头预览信息DTO
 * 用于返回摄像头预览所需的URL和访问令牌
 */
@Data
@ApiModel(description = "摄像头预览信息")
public class CameraPreviewDTO {
    
    @ApiModelProperty(value = "预览地址", example = "ezopen://open.ys7.com/xxx/1.hd.live")
    private String url;
    
    @ApiModelProperty(value = "访问令牌", example = "at.xxx...")
    private String accessToken;
} 